Enter your expression in the form "a mod m" or "a^t mod m"
Alternatively enter your expression separated by commas: "a,m" or "a,t,m"
For an exponent tower you can enter more terms separated by commas. For example:
"2,3,4,5,6" will be interpreted as \({2^{3^{4^5}} (mod \ 6) }\)